//#define __FORCE_TRACE__
//#define __FORCE_DEBUG__
//#define __FORCE_INFO__
#define THIS_FILE "MVTTraining\fn_preinit.sqf"
#include <core_macros.h>

TRACE_1("Start",_this);
TMFPROFILERSTART;

GVAR(MARKER_NAME) = "MVT_Training_Ground";
GVAR(MARKER_NAME_OBJECTS) = "MVT_Training_Ground_Objects";

GVAR(ObjectStore) = objNull;

if (isServer) then {
	GVAR(pveh) = [];
	publicVariable QGVAR(pveh);
};

GVAR(MVT_POS) = [0,0,0];
GVAR(MVT_SIZE) = 0;
GVAR(MVT_SHAPE) = [];

GVAR(MVT_OBJ_POS) = [0,0,0];
GVAR(MVT_OBJ_SIZE) = 0;
GVAR(MVT_OBJ_SHAPE) = [];

GVAR(TARGETS) = [];
GVAR(BUILDINGS) = 0;
GVAR(BUILDINGS_TRIGGERS) = [];
GVAR(BUILDINGS_STATUS) = [];
GVAR(CROSSINGS) = 0;
GVAR(CROSSINGS_TRIGGERS) = [];
GVAR(CROSSINGS_STATUS) = [];
GVAR(CROSSINGS_TARGETS) = [];
GVAR(CROSSINGS_STREET_TARGETS_FRONT) = [];
GVAR(CROSSINGS_STREET_TARGETS_BACK) = [];
GVAR(SQUARE_EXITS) = 0;
GVAR(SQUARE_TARGETS) = [];
GVAR(SQUARE_EXITS_TARGETS) = [];
GVAR(SQUARE_OUT_TARGETS) = [];

GVAR(ACTIVE_TARGETS) = [];
GVAR(MAX_ACTIVE_TARGETS) = 4;
GVAR(NEXT_TARGET) = 0;
GVAR(NEXT_TARGET_DELAY) = 8;

GVAR(AUTO_POP_TARGETS) = true;

GVAR(RAISED_TARGETS) = 0;
GVAR(AVERAGE_UP_TIME) = 0;
GVAR(MISSED_TARGETS) = 0;

TRACE("End");
TMFPROFILERSTOP;
